<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 * class School_lib
 * @author Davinder
 * @version 1.0
 */
 
class School_lib
{
    private $_CI;
    
    public function __construct() {
        $this->_CI = & get_instance();
        log_message('ERROR',__CLASS__.' Class Initialized');
        $this->_CI->load->model('school_model');
	}
    
    public function get_active_schools($p_data=null) {
        
        $schools = $this->_CI->school_model->get_active_schools($p_data);
        return $schools;
    }
}